import web
import handlers

urls = (
        '/eprint/enable/(.+)',      'handlers.ePrintEnable',
        '/eprint/disable/(.+)',     'handlers.ePrintDisable',
        '/eprint/renew/(.+)',       'handlers.ePrintRenew',
        '/eprint/jobs/(.+)',        'handlers.ePrintJobs',
        '/eprint/data',             'handlers.ePrintData',
        )

app = web.application(urls, globals())

if __name__ == '__main__':
    app.cgirun()
